long division method for hcf of 3 numbers